<?php
$data = array();
$page = isset($_POST['page']) ? $_POST['page'] : 1;
$size = isset($_POST['size']) ? $_POST['size'] : 5;
for ($i=0; $i<$size; ++$i){
	$arr = [];
	$arr['id'] = $i;
	$arr['title'] = "第{$page}页标题{$i}";
	$arr['desc'] = "描述{$i}";
	array_push($data,$arr);
};
$dataOne['data'] = $data;
$dataOne['total'] = 20;
echo json_encode($dataOne); 

